[INFO] fetching crate sea_orm_casbin_adapter 0.3.8...
[INFO] documenting sea_orm_casbin_adapter-0.3.8 against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] extracting crate sea_orm_casbin_adapter 0.3.8 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate sea_orm_casbin_adapter 0.3.8 on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sea_orm_casbin_adapter 0.3.8
[INFO] finished tweaking crates.io crate sea_orm_casbin_adapter 0.3.8
[INFO] tweaked toml for crates.io crate sea_orm_casbin_adapter 0.3.8 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 893f8865b496d018550ed71393d24807809ab06e56b525450a00dd50dad20a03
[INFO] running `Command { std: "docker" "start" "-a" "893f8865b496d018550ed71393d24807809ab06e56b525450a00dd50dad20a03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "893f8865b496d018550ed71393d24807809ab06e56b525450a00dd50dad20a03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "893f8865b496d018550ed71393d24807809ab06e56b525450a00dd50dad20a03", kill_on_drop: false }`
[INFO] [stdout] 893f8865b496d018550ed71393d24807809ab06e56b525450a00dd50dad20a03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5036a9de1b0b7b86029ca7bc688c8a8a41d1b455683d036f9cecb1aff08ce1cf
[INFO] running `Command { std: "docker" "start" "-a" "5036a9de1b0b7b86029ca7bc688c8a8a41d1b455683d036f9cecb1aff08ce1cf", kill_on_drop: false }`
[INFO] [stderr]     Checking casbin v2.0.9
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IoError`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:131:24
[INFO] [stdout]     |
[INFO] [stdout] 131 |             return Err(IoError::new(
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `IoError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |                 ErrorKind::Other,
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `ErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IoError`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:125:32
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     return Err(IoError::new(
[INFO] [stdout]     |                                ^^^^^^^ use of undeclared type `IoError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         ErrorKind::Other,
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `ErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     P: AsRef<Path> + Send + Sync,
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let f = File::open(&self.file_path).await?;
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut lines = BufReader::new(f).lines();
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::BufReader;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let f = File::open(&self.file_path).await?;
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut lines = BufReader::new(f).lines();
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::BufReader;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut file = File::create(&self.file_path).await?;
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::fs::File;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |     P: AsRef<Path> + Send + Sync,
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:35:44
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub(crate) async fn from_file<P: AsRef<Path>>(p: P) -> Result<Self> {
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 |         c.parse_buffer(&mut BufReader::new(Cursor::new(s.as_ref().as_bytes())))
[INFO] [stdout]    |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::BufReader;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:49:44
[INFO] [stdout]    |
[INFO] [stdout] 49 |         c.parse_buffer(&mut BufReader::new(Cursor::new(s.as_ref().as_bytes())))
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:55:29
[INFO] [stdout]    |
[INFO] [stdout] 55 |     async fn parse<P: AsRef<Path>>(&mut self, p: P) -> Result<()> {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut f = File::open(p).await?;
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BufReader` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut reader: BufReader<Cursor<&[u8]>> =
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::BufReader;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut reader: BufReader<Cursor<&[u8]>> =
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             BufReader::new(Cursor::new(&c));
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::BufReader;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |             BufReader::new(Cursor::new(&c));
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BufReader` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |         reader: &mut BufReader<Cursor<&[u8]>>,
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::BufReader;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:67:32
[INFO] [stdout]    |
[INFO] [stdout] 67 |         reader: &mut BufReader<Cursor<&[u8]>>,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/model/default_model.rs:31:37
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub async fn from_file<P: AsRef<Path>>(p: P) -> Result<DefaultModel> {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 |     ) -> Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lifetimes appearing in an associated type are not considered constrained
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0581.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `casbin` due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "5036a9de1b0b7b86029ca7bc688c8a8a41d1b455683d036f9cecb1aff08ce1cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5036a9de1b0b7b86029ca7bc688c8a8a41d1b455683d036f9cecb1aff08ce1cf", kill_on_drop: false }`
[INFO] [stdout] 5036a9de1b0b7b86029ca7bc688c8a8a41d1b455683d036f9cecb1aff08ce1cf
